home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11008 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: usenet.cis.ufl.edu!usenet
  2. From: ep@cis.ufl.edu (Ed Porras)
  3. Newsgroups: comp.lang.c++
  4. Subject: Borland C++ 4.52 OWL child dialog question
  5. Date: 12 Mar 1996 07:22:34 GMT
  6. Organization: University of Florida (Computer Science Department)
  7. Message-ID: <1223.6645T140T1158@cis.ufl.edu>
  8. NNTP-Posting-Host: dialup-b2.cis.ufl.edu
  9. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  10.  
  11. Hi,
  12.  
  13. I'm running Win95 and coding with Borland C++ 4.52.. our project is
  14. using OWL with resources..
  15.  
  16. the problem is when we have a dialog with a child dialog, is there something
  17. that I must take care of to handle the correct destruction of them?
  18. is, for some reason, the HWindow shared between the two? the reason
  19. i'm asking is because if the user pops up the first (parent), and then
  20. activates a callback to popup it's child dialog an exeption will occur
  21. upon exiting the application if IDCANCEL was returned by both dialogs..
  22.  
  23. my destructors are both calling Destroy() and then deleting private members
  24. that i've allocated..
  25.  
  26. i've traced through the exiting, and the execption is occurs nowhere in
  27. my code.. it happens after  - as if it's deallocating something that is not
  28. there..
  29.  
  30. does anyone know about this? please mail me at
  31.  
  32. ep@cis.ufl.edu
  33.  
  34.  
  35. thanks
  36.  
  37. -e
  38.  
  39. --
  40. ---------------------------------------------------------------
  41.   Ed Porras                 | Email: ep@cis.ufl.edu
  42.   2777 SW Archer Rd. AJ-308 | WWW: http://www.cis.ufl.edu/~ep/
  43.   Gainesville, Fl 32608     | University of Florida, CISE Dept.
  44.   (352) 335-8169            | Work: (352) 373-2626
  45. ---------------------------------------------------------------
  46.  
  47.